const service = require("../../utils/service").service

module.exports.getDetail = (id) => service({ url: "/medicine/product/" + id })
module.exports.addCollect = (data) => service({ url: "/medicine/api/collect", data, method: "post" })
module.exports.productHistory = (data) => service({ url: "/medicine/api/productHistory", data, method: "post" })